#ifndef __H_GAME_H__
#define __H_GAME_H__

#include <tuple>
#include <deque>
#include <vector>
#include <map>
#include <queue>
#include <functional>
#include <mutex>
#include <thread>
#include <atomic>
#include "ICC_Timer_Handler.h"
#include "RedisClient.h"
#include "GameBase.h"
#include "CClient.h"
#include "log.h"
#include "HostBase.h"

class CHost;
class CGameServer :public BYTimerOject
{
public:
	CGameServer();
	virtual ~CGameServer();
public:
	// callback && interface
	virtual bool InitGame();
	virtual int OnBYTimeOut(int Timerid);
	int ProcessPacket(SocketHandler* pHandler, NETInputPacket* inputPkg);
	int ProcEventBackConn(int ev_id, SpiderEvent* pEvent);

public:
    // void HandlePress();

public:
	CHost* m_pHost;
};




#endif


